package com.dayu.gulimall.member.feign;

import com.dayu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.naming.Name;

/**
 * @USER: dayu
 * @EMAIL: dayu007@foxmail.com
 * @DATE: 2020/5/7 13:40
 * @DESCRIPTION:
 */
@FeignClient(name = "gulimall-coupon")
public interface CouponFeignService {

//    http://localhost:7000/coupon/coupon/list/coupon

    @GetMapping("/coupon/coupon/list/coupon")
    public R listCoupons();
}
